package cn.flymod.DHG_mcpePlusEX;

import android.app.*;
import android.content.*;
import android.net.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;

public class a_skineditor extends Activity
{
    /** Called when the activity is first created. */
    @Override
	TextView activityskineditorTextView1,activityskineditorTextView2,activityskineditorTextView3;
	Button activityskineditorButton1;
    public void onCreate(Bundle savedInstanceState)
	{
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_skineditor);
		
		getActionBar().setDisplayHomeAsUpEnabled(true);
		
		activityskineditorTextView1=(TextView)findViewById(R.id.activityskineditorTextView1);
		activityskineditorTextView2=(TextView)findViewById(R.id.activityskineditorTextView2);
		activityskineditorTextView3=(TextView)findViewById(R.id.activityskineditorTextView3);
		activityskineditorButton1=(Button)findViewById(R.id.activityskineditorButton1);
		
		activityskineditorTextView1.setText("皮肤编辑器");
		activityskineditorTextView2.setText("jiayong620汉化作品,可生成.png格式的皮肤文件,可以用启动器导入.");
		activityskineditorTextView3.setText("●如何使用皮肤:按照提示制作皮肤→保存(默认路径sd/minecraft skin或sd/download)→打开启动器→点击扳手,选启动器设置→使用皮肤打勾并选择.png格式的皮肤文件即可");
		activityskineditorButton1.setText("下载");
		
		activityskineditorButton1.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"该版本由jiayong620汉化",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://pan.baidu.com/share/link?shareid=1860395655&uk=2869900060");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});

    }
}
